<?php
date_default_timezone_set('Europe/Belgrade');
define('SMARTY_DIR', 'class/smarty/');
define('APP_DIR', './');

// template configuration - for function siteinfo()
define('ROOT_DIR', '/');
//define('SITE_URL','http://localhost/~zarko/TattooPortal'); //IMPORTANT! must be set
define('SITE_URL','http://localhost/TattooPortal'); //IMPORTANT! must be set
define('TEMPLATE_DIR', APP_DIR . 'templates/tattoo');
define('SCRIPTS_DIR', TEMPLATE_DIR . '/scripts');
define('STYLES_DIR', TEMPLATE_DIR . '/styles');

define('MEDIA_DIR', 'media');
define('INCLUDES_DIR', 'includes/');

// smarty configuration
require(SMARTY_DIR . 'Smarty.class.php');
class APP_Smarty extends Smarty {
    function __construct() {
      parent::__construct();
      $this->template_dir = TEMPLATE_DIR;
      $this->compile_dir = APP_DIR . 'smarty_common/templates_c';
      $this->config_dir = APP_DIR . 'smarty_common/configs';
      $this->cache_dir = APP_DIR . 'smarty_common/cache';
    }
}

// database configuration --see in db.php


?>
